package guru.springframework.services;



import guru.springframework.domain.ProductB;

import java.util.List;

public interface ProductService {

    List<ProductB> listAllProducts();

    ProductB getProductById(Integer id);

    void saveProduct(ProductB product);

    int deleteProductById(Integer id);
}
